package com.pentofab.payrollmanagement.dao.model;

import java.util.ArrayList;

public class PTSlabDetail {
	
	private String maxRangeCol; 
	private String ptAmountCol;
	
    
    public PTSlabDetail(String maxRange, String ptAmount) {
    	
    	this.maxRangeCol = maxRange;
    	this.ptAmountCol =ptAmount;
	}


	public static ArrayList<PTSlabDetail> getPTSlabDetailList(
			ArrayList<PTSlab> ptSlab) {
    	
		ArrayList<PTSlabDetail> detail = new ArrayList<PTSlabDetail>();
		
		for (int i = 0; i < ptSlab.size(); i++) {
			PTSlab cur = ptSlab.get(i);
			detail.add(new PTSlabDetail(cur.getMaxRange(),cur.getPtAmount()));
		}
		
		return detail;

	}


	public String getMaxRangeCol() {
		return maxRangeCol;
	}


	public void setMaxRangeCol(String maxRangeCol) {
		this.maxRangeCol = maxRangeCol;
	}


	public String getPtAmountCol() {
		return ptAmountCol;
	}


	public void setPtAmountCol(String ptAmountCol) {
		this.ptAmountCol = ptAmountCol;
	}
	
}
